package com.xxxy;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsumerController {
    @GetMapping("/consumer")
    public String consumer
            (@RequestParam(value = "username",required = false) String userName){
        return "你好！"+ userName+"，请v我50";
    }
}
